/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.organization.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.organization.domain.OfficeRequest;
import com.jeeplus.organization.service.dto.BossDTO;
import com.jeeplus.organization.service.dto.OfficeRequestDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 请示稿件MAPPER接口
 * @author 淋漓
 * @version 2024-06-16
 */
public interface OfficeRequestMapper extends BaseMapper<OfficeRequest> {
    List<BossDTO> selectByPostId(@Param("id") String id);
    //userId当前用户的id
    IPage<OfficeRequestDTO> MyPage(Page<OfficeRequestDTO> page,@Param("userName") String userName,@Param("approverId") String approverId,@Param("userId") String userId, @Param("status") String status,@Param("title") String title);
    OfficeRequestDTO SelectById(@Param("id") String id);

}
